<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
		<title><!--{if !empty($_FANWE['nav_title'])}-->$_FANWE['nav_title'] - <!--{/if}--><!--{if empty($no_site_name)}--> $_FANWE['setting']['site_title']<!--{/if}--></title>
		<meta name="keywords" content="$_FANWE[setting][seo_keyword]" />
		<meta name="description" content="$_FANWE[setting][seo_content]" />
		<link type="text/css" rel="stylesheet" href="{TPL_PATH}css/style.css" />
		<script type="text/javascript" src="{PUBLIC_PATH}js/jquery.js"></script>
		<script type="text/javascript" src="{PUBLIC_PATH}js/jquery.cookie.js"></script>
		<script type="text/javascript" src="{PUBLIC_PATH}js/jquery.bgiframe.js"></script>
		<script type="text/javascript" src="{PUBLIC_PATH}js/jquery.lazyload.js"></script>
		<script type="text/javascript" src="{PUBLIC_PATH}js/base.js"></script>
		<script type="text/javascript" src="{TPL_PATH}js/script.js"></script>
		<script type="text/javascript">
			var SITE_PATH = '{SITE_PATH}';
			var SITE_URL = '$_FANWE[site_url]';
			var TPL_PATH = '{TPL_PATH}';
			var PUBLIC_PATH	 = '{PUBLIC_PATH}';
			var MODULE_NAME	 = '{MODULE_NAME}';
			var ACTION_NAME	 = '{ACTION_NAME}';
			var COOKIE_PRE = "$_FANWE['config']['cookie']['cookie_pre']";
		</script>
	</head>
	<body>
		<div id="top" name="top" class="hbox">
			<div class="fl">
				<p>当前站点：【$_FANWE[current_city][name]团购网站大全】</p>
				<a href="javascript:;" class="toggle">切换城市</a>
			</div>
			<div id="city-list" class="hidden">
				<!--{loop $_FANWE['cache']['city']['py'] $key $city_pys}-->
				<dl>
					<dt>$key</dt>
					<dd>
						<!--{loop $city_pys $city_py}-->
						<!--{if !defined('IS_EXPIRED')}-->
						<!--{eval $goods_count = intval($_FANWE['cache']['goods']['citys']['now'][$city_py]);}-->
						<!--{/if}-->
						<!--{if $city_py == CHINA_CITY_PY && $_FANWE['setting']['all_city'] == 1}-->
						<!--{if !defined('IS_EXPIRED')}-->
						<!--{eval $goods_count = $_FANWE['cache']['goods']['now_total_count'];}-->
						<!--{/if}-->
						<!--{elseif $city_py != CHINA_CITY_PY && $_FANWE['setting']['index_all'] == 1}-->
						<!--{if !defined('IS_EXPIRED')}-->
						<!--{eval $goods_count += intval($_FANWE['cache']['goods']['citys']['now'][CHINA_CITY_PY]);}-->
						<!--{/if}-->
						<!--{/if}-->
						<!--{eval $city = $_FANWE['cache']['city']['all'][$city_py];}-->
						<a href="{if defined('IS_EXPIRED')}$city[expired_url]{else}$city[url]{/if}" pinYin="$city_py" class="{if $city['is_hot'] == 1}hot_city{/if}{if $city_py == CURRENT_CITY_PY} current{/if}">$city[name]<!--{if !defined('IS_EXPIRED')}--><span class="count">({$goods_count})</span><!--{/if}--></a>
						<!--{/loop}-->
					</dd>
				</dl>
				<!--{/loop}-->
				<div class="other"><a href="{u message/feedback}">没有找到城市请留言&raquo;</a></div>
			</div>
			<ul class="shares fr">
				<li class="t">分享到：</li>
				<li class="mq"><a href="#"onclick="$.copyText('#share-im');">MSN/QQ</a></li>
				<li class="kx"><a  href="http://www.kaixin001.com/repaste/share.php?rurl=$_FANWE[site_url]&rtitle=$_FANWE[setting][site_name]" target="_blank" >开心</a></li>
				<li class="rr"><a  href="http://share.renren.com/share/buttonshare.do?link=$_FANWE[site_url]" target="_blank">人人</a></li>
				<li class="db"><a  href="http://www.douban.com/recommend/?url=$_FANWE[site_url]&title={echo urlencode($_FANWE['setting']['site_name'])}" target="_blank">豆瓣</a></li>
				<li class="sina"><a  href="http://v.t.sina.com.cn/share/share.php?url=$_FANWE[site_url]&title={echo urlencode($_FANWE['setting']['site_name'])}" target="_blank">新浪微博</a></li>
				<li class="email"><a  href="mailto:?body={echo urlencode(utf8ToGB($_FANWE['setting']['site_name']))} $_FANWE[site_url]" target="_blank">邮件</a></li>
			</ul>
			<input id="share-im" type="hidden" value="$_FANWE['setting']['site_title'] $_FANWE[site_url]"/>
		</div>
		<div id="head" class="hbox">
			<div class="logo"><a href="$_FANWE[site_url]"><img src="{SITE_PATH}$_FANWE['setting']['shop_logo']" height="68" /></a></div>
			<ul class="nav">
			<!--{eval $nav_index = 0;}-->
			<!--{loop $_FANWE['cache']['nav']['main'] $nav}-->
				<!--{if $nav_index > 2}-->
				<li class="i small{if $nav['rec_module'] == MODULE_NAME} current{/if}"><a class="small" href="$nav[url]" title="$nav[name]" target="{$nav[target]}">$nav[name]</a></li>
				<!--{else}-->
				<li class="i{if $nav['rec_module'] == MODULE_NAME} current{/if}"><a href="$nav[url]" title="$nav[name]" target="{$nav[target]}">$nav[name]</a></li>
				<!--{/if}-->
				<!--{eval $nav_index++;}-->
			<!--{/loop}-->
			<!--{dynamic getAuctionMenu}-->
			</ul>
			<div class="uc">
				<!--{dynamic getUserInfo}-->
			</div>
		</div>
		<div id="nav" class="hbox">
			<ul id="cateNav">
				<li class="i"><a href="{if defined('IS_EXPIRED')}{echo U('goods/index',array('city'=>CURRENT_CITY_PY))}{else}{echo U('index/index',array('city'=>CURRENT_CITY_PY))}{/if}" cateID="0">全部团购</a></li>
				<!--{loop $_FANWE['cache']['goods']['root_cates'] $catid}-->
				<!--{eval $cat = $_FANWE['cache']['goods']['cats'][$catid];}-->
				<li class="j"></li>
				<li class="i" cateID="$cat[id]"><a href="{if defined('IS_EXPIRED')}{echo U('goods/index',array('cat'=>$cat['id'],'city_py'=>CURRENT_CITY_PY))}{else}{echo U('now/index',array('cat'=>$cat['id'],'city_py'=>CURRENT_CITY_PY))}{/if}" cateID="$cat[id]">$cat[name]</a></li>
				<!--{/loop}-->
			</ul>
			<div class="search">
				<form name="header_serch" id="header_serch" action="{if MODULE_NAME == 'goods'}{u goods/search}{else}{u now/search}{/if}" method="POST">
					<input type="hidden" name="action" value="search" />
					<input type="text" id="serch_text" name="keyword" class="search-input inactive" value="{if !empty($keyword)}{$keyword}{else}{lang search_keywords}{/if}" empty="{lang search_keywords}"/>
					<!--2011-01-30 update-->
					<input type="image" src="{TPL_PATH}images/btn_search.gif" id="head-search-submit" />
					<input type="hidden" name="cat" value="$cate_id" />
                    <input type="hidden" name="action" value="search" />
				</form>
			</div>
		</div>
		